package com.yc.rpc.core.server;

/**
 * @author ：冉野
 * @date ：Created in 2021-07-15 18:58
 * @description：
 * @modified By：
 * @version: $
 */
public class ServerResponse<T> {

    private Integer code;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    private String type;
    private T data;


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
